/*
 * @Description: 元数据管理
 * @Author: Rfan
 * @Date: 2022-01-07 09:15:48
 * @LastEditTime: 2022-04-06 13:29:48
 */

import classNames from 'classnames/bind';
import { OrgAndUserContextProvider } from './contexts/OrgAndUserContext';
import DepartmentSidebar from './components/DepartmentSidebar';
import Operate from './components/Operate';
import UserPane from './components/UserPane';

import styles from './styles/main.module.scss';

const cx = classNames.bind(styles);

const UserRightOrgAndUser = () => {
  return (
    <>
      <OrgAndUserContextProvider>
        <div className={cx('main-wrap')}>
          <div className={cx('unit-wrap')}>
            <DepartmentSidebar />
          </div>
          <div className={cx('content-wrap')}>
            <Operate />
            <UserPane />
          </div>
        </div>
      </OrgAndUserContextProvider>
    </>
  );
};

export default UserRightOrgAndUser;
